
const path = require('path');
const fsExtra = require('fs-extra');
const outPath = path.resolve('./nect_echart_dist/')


!(async () => {
    try {
        await fsExtra.emptyDir(outPath);
    } catch (error) {
        console.error('Error copying directory:', error);
    }
})() 